﻿<Window x:Class="CPPEI.Coolzon.Designer.Views.PublishToFileSystemWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:local="clr-namespace:CPPEI.Coolzon.Designer.Views"
        mc:Ignorable="d"
        Title="发布方案到本地" Height="300" Width="639.861" WindowStartupLocation="CenterScreen"
        
        Style="{DynamicResource WindowStyle}">
    <!--<Window.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="pack://application:,,,/CPPEI.Coolzon.Designer.Views;component/CommonStyle.xaml"/>
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </Window.Resources>-->
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="31"/>
            <RowDefinition Height="*"/>
            <RowDefinition Height="40"/>
        </Grid.RowDefinitions>
        <Grid Grid.Row="0">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="130"/>
                <ColumnDefinition Width="*"/>
                <ColumnDefinition Width="40"/>
            </Grid.ColumnDefinitions>
            <TextBlock Grid.Column="0" FontSize="16" Text="请选择发布目录:" Margin="3,5,3,3" HorizontalAlignment="Right" />
            <TextBox x:Name="_ctlPublishDir" Grid.Column="1" Margin="3" IsReadOnly="True" />
            <Button Style="{DynamicResource ShortButtonStyle}" Click="selectDirButton_Click" Grid.Column="2" Content="..." Width="30"  Margin="5,3,3,3" />
        </Grid>
        <Grid Grid.Row="2">
            <StackPanel Margin="5" Orientation="Horizontal" HorizontalAlignment="Center">
                <Button Style="{DynamicResource SubmitOrCancelButtonStyle}" Content="确定" Margin="0,0,20,0" Click="Button_Click" />
                <Button Style="{DynamicResource SubmitOrCancelButtonStyle}" Name="cancel" Content="取消" Margin="20,0,0,0" Click="cancel_Click"></Button>
            </StackPanel>
        </Grid>
    </Grid>
</Window>
